package cn.zjitc.craft.service.impl;

import cn.zjitc.craft.dao.UserDao;
import cn.zjitc.craft.domain.User;
import cn.zjitc.craft.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("userService")
public class UserServiceImpl implements UserService {

    @Autowired
    private  UserDao userDao;
    @Override
    public void save(User user) {
        userDao.save(user);
    }
}
